<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="top.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<title>我是广告主</title>
		<link rel="stylesheet" href="<%=basePath%>/css/global.css" />
		<link rel="stylesheet" href="<%=basePath%>/css/style.css" />
		<link rel="stylesheet" href="<%=basePath%>/css/vscroll.css" />
		<link rel="stylesheet" href="<%=basePath%>/css/hscroll.css" />
		<script src="<%=basePath%>/js/SpryTabbedPanels.js"
			type="text/javascript"></script>
		<script src="<%=basePath%>/js/swfobject.js" type="text/javascript"></script>
		<script src="<%=basePath%>/js/jquery-1.7.2.min.js"
			type="text/javascript"></script>
		<script src="<%=basePath%>/js/jquery.imageScroller.js"
			type="text/javascript"></script>
		<script src="<%=basePath%>/js/hscroll.js" type="text/javascript"></script>
		<script src="<%=basePath%>/js/vscroll.js" type="text/javascript"></script>
		<link href="<%=basePath%>/css/SpryTabbedPanels.css" rel="stylesheet"
			type="text/css" />
		<style type="text/css">
#mb_main {
	border: 1px solid #82BBDD;
}

#mb_right {
	border: 1px solid #82BBDD;
}

#formInput input {
	line-height: 25px;
	height: 25px;
	width: 150px;
	margin: 0 auto;
}
</style>
	</head>
	<body>
		<div id="container">
			<!--logo到导航条的内容-->
			<jsp:include page="/head.jsp" flush="true"></jsp:include>
			<!--end heaer-->
			<div id="mainBody">
				<div id="mb_main">
					<div id="TabbedPanels1" class="TabbedPanels">
						<ul class="TabbedPanelsTabGroup">
							<li class="TabbedPanelsTab" tabindex="0">
								概述
							</li>
							<li class="TabbedPanelsTab" tabindex="1">
								我要发广告
							</li>
							<li class="TabbedPanelsTab" tabindex="2">
								广告主使用指南
							</li>
						</ul>
						<div class="TabbedPanelsContentGroup">
							<div class="TabbedPanelsContent">
								概述
							</div>
							<div class="TabbedPanelsContent">
								<form id="adForm"
									action="<%=basePath%>/ad/adUserAction/doReg.ad" method="post">
									<table id="formInput" border="1" width="60%">
										<tr>
											<td>
												登录名：
											</td>
											<td>
												<input type="text" name="user.username"
													value="${user.username }" />
											</td>
										</tr>
										<tr>
											<td>
												密码：
											</td>
											<td>
												<input type="password" name="user.password"
													value="${user.password }" />
											</td>
										</tr>
										<tr>
											<td>
												重复密码：
											</td>
											<td>
												<input type="password" name="user.rpassword" />
											</td>
										</tr>
										<tr>
											<td>
												公司名称：
											</td>
											<td>
												<input type="text" name="user.userInfo.company"
													value="${user.rpassword }" />
											</td>
										</tr>
										<tr>
											<td>
												手机：
											</td>
											<td>
												<input type="text" name="user.userInfo.mobile" />
											</td>
										</tr>
										<tr>
											<td>
												邮箱：
											</td>
											<td>
												<input type="text" name="user.userInfo.email"
													value="${user.userInfo.email }" />
											</td>
										</tr>
										<tr>
											<td>
												公司网址：
											</td>
											<td>
												<input type="text" name="user.userInfo.webSite"
													value="${user.userInfo.webSite }" />
											</td>
										</tr>
										<tr>
											<td>
												公司联系地址
											</td>
											<td>
												<input type="text" name="user.userInfo.companyAddr"
													value="${user.userInfo.companyAddr }" />
											</td>
										</tr>
										<tr>
											<td>
												座机：
											</td>
											<td>
												<input type="text" name="user.userInfo.phone"
													value="${user.userInfo.phone }" />
											</td>
										</tr>
										<tr>
											<td>
												传真:
											</td>
											<td>
												<input type="text" name="user.userInfo.fax"
													value="${user.userInfo.fax }" />
											</td>
										</tr>
										<tr>
											<td>
												QQ:
											</td>
											<td>
												<input type="text" name="user.userInfo.qq"
													value="${user.userInfo.qq }" />
											</td>
										</tr>
										<tr>
											<td>
												验证码:
											</td>
											<td>
												<input id="verifyCode" type="text" name="verifyCode" />
												<a href="###" onclick="javascript:loadVerifyCode(this)"><img
														id="verifyCodeImg" alt="验证码"
														src="<%=basePath%>/verifyCode.ad" width="50" height="20"
														style="cursor: hand; margin-top: 0px;" />点击刷新</a>
											</td>
											<td>
												<span class="errMsg"><s:fielderror>
														<s:param>verifyCode</s:param>
													</s:fielderror>
												</span>
											</td>
										</tr>
										<tr>
											<td>
												<input type="submit" name="submit" value="提交" />
											</td>
											<td>
												<input type="reset" name="重置" />
											</td>
										</tr>
									</table>
								</form>
							</div>
							<div class="TabbedPanelsContent">
								广告主使用指南
							</div>
						</div>
					</div>
				</div>
				<!--end mb_main-->
				<div id="mb_right">
					<div class="mb_r_right">

					</div>

				</div>
				<!--end mb_right-->

				<div id="partnerGallery">
					<div id="viewer">
						<div id="viewerFrame">
							<a href="#"><img src="<%=basePath%>/images/partner1.gif" /> </a>
							<a href="#"><img src="<%=basePath%>/images/partner2.jpg" /> </a>
							<a href="#"><img src="<%=basePath%>/images/partner1.gif" /> </a>
							<a href="#"><img src="<%=basePath%>/images/partner2.jpg" /> </a>
							<a href="#"><img src="<%=basePath%>/images/partner1.gif" /> </a>
							<a href="#"><img src="<%=basePath%>/images/partner2.jpg" /> </a>
							<a href="#"><img src="<%=basePath%>/images/partner1.gif" /> </a>
							<a href="#"><img src="<%=basePath%>/images/partner2.jpg" /> </a>
							<a href="#"><img src="<%=basePath%>/images/partner1.gif" /> </a>
							<a href="#"><img src="<%=basePath%>/images/partner2.jpg" /> </a>
							<a href="#"><img src="<%=basePath%>/images/partner1.gif" /> </a>
							<a href="#"><img src="<%=basePath%>/images/partner2.jpg" /> </a>
						</div>
					</div>
					<span id="btn1"><img src="<%=basePath%>/images/arr_left.gif" />
					</span><span id="btn2"><img
							src="<%=basePath%>/images/arr_right.gif" /> </span>
				</div>
			</div>

			<!--end mb_main-->
			<div id="foot">
				<div id="contact">
					<a href="">关于我们</a>|
					<a href="">联系我们</a>|
					<a href="">加入我们</a>
				</div>
				<div id="copyright">
					版权所有 © 北京祥睿博通科技有限公司 2011-2012 . 京ICP备:******号.
				</div>
			</div>
		</div>
		<script type="text/javascript">
	var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
	TabbedPanels1.showPanel(1)
</script>
	</body>
</html>
